package org.example.aienglishapp.entity.progress;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
public class LearningStat {
    @Id
    private long id;
    private long userId;
    private String studyType;
    private Integer hoursSpent;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
}